.PHONY: all
all:client server

client:CalClient.cc
	g++ -o $@ $^
server:CalServer.cc
	g++ -o $@ $^ -lpthread
.PHONY: clean
clean:
	rm -f client server